package com.yunban.project.article.model.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "文章响应")
public class ArticleResp implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    private long id;
    @Schema(description = "文章名称")
    private String name;
    @Schema(description = "文章内容")
    private String html;
    @Schema(description = "创建人ID")
    private long createdBy;
    @Schema(description = "创建人名称")
    private String createdByName;
    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
}
